package mipushdemo.xiaomi.com.diyitonghang.ui.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import mipushdemo.xiaomi.com.diyitonghang.R;
import mipushdemo.xiaomi.com.diyitonghang.data.bean.TabBean;
import mipushdemo.xiaomi.com.diyitonghang.data.bean.TabXBean;

public class AddTabRecy1Adapter extends BaseQuickAdapter<TabXBean,BaseViewHolder> {
    public AddTabRecy1Adapter(int layoutResId, @Nullable List<TabXBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, TabXBean item) {
        helper.setText(R.id.tv_tab_item,item.getChannelName());
    }
}
